package com.example.qny01.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import qny01.pojo.User;

@Mapper
public interface UserMapper {
    @Select("select * from t_user where username=#{u.username} and password=#{u.password}")
    User login(@Param("u") User user);
}
